package com.ybg.bookrules.services.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ybg.bookrules.mapper.MenusMapper;
import com.ybg.bookrules.module.entity.Menus;
import com.ybg.bookrules.services.MenusService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MenusServiceImpl extends ServiceImpl<MenusMapper, Menus> implements MenusService {
    @Override
    public List<Menus> selectMenusAndUseridByUserid(int userid) {
        return this.getBaseMapper().selectMenusAndUseridByUserid(userid);
    }
}
